﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="QuickViewCategory.ascx.cs" Inherits="Admin.Controls.Homepage.QuickViewCategory" %>
<%@ Register Src="~/Controls/Thumbnail/Thumbnail.ascx" TagName="Thumb" TagPrefix="t" %>
<!--[if !IE]>start section<![endif]-->

<div class="section">
<div class="title_wrapper">
	<h2>Chuyên mục</h2>
</div>


<!--[if !IE]>start section_inner<![endif]-->
<div class="section_inner">

<div  id="product_list">
	

	<!--[if !IE]>start table_wrapper<![endif]-->
	<div class="table_wrapper">
		<div class="table_wrapper_inner">
		<table cellpadding="0" cellspacing="0" width="100%">
			<tbody><tr>
				<th>#</th>
				<th class="photo"><span>Ảnh</span></th>
				<th><span>Tên</span></th>
				
				<th><span>Số bài viết</span></th>
				
				<th>Hành động</th>
			</tr>
			<asp:Repeater ID="rptQuickCategory" runat="server">
			<ItemTemplate>
			<tr class="first">
				<td><%#Eval("Category_ID") %></td>
				<td class="photo"><a href="<%#Eval("Category_Icon") %>" target="_blank" class="product_thumb"><t:Thumb ID="BigThumb" OrigionalImage=<%#Eval("Category_Icon") %> ThumbWidth="73" ThumbFolder="~/Thumbs" ErrorImage="~/images/noimage.jpg" runat="server" /></a></td>
				<td><a href="/EditCategory.aspx?categoryid=<%#Eval("Category_ID") %>" class="product_name"><%#Eval("Category_Name") %></a></td>
				
				<td><%#Eval("TotalNews") %></td>
				<td>
					<div class="actions_menu">
						<ul>
							<li><a class="edit" href="/EditCategory.aspx?categoryid=<%#Eval("Category_ID") %>">Sửa</a></li>
						</ul>
					</div>
				</td>
			</tr>
			</ItemTemplate>
			<AlternatingItemTemplate>
			<tr class="second">
				<td><%#Eval("Category_ID") %></td>
				<td class="photo"><a href="<%#Eval("Category_Icon") %>" target="_blank" class="product_thumb"><t:Thumb ID="BigThumb" OrigionalImage=<%#Eval("Category_Icon") %> ThumbWidth="73" ThumbFolder="~/Thumbs" ErrorImage="~/images/noimage.jpg" runat="server" /></a></td>
				<td><a href="/EditCategory.aspx?categoryid=<%#Eval("Category_ID") %>" class="product_name"><%#Eval("Category_Name") %></a></td>
				
				<td><%#Eval("TotalNews") %></td>
				<td>
					<div class="actions_menu">
						<ul>
							<li><a class="edit" href="/EditCategory.aspx?categoryid=<%#Eval("Category_ID") %>">Sửa</a></li>
						</ul>
					</div>
				</td>
			</tr>
			</AlternatingItemTemplate>
			</asp:Repeater>
		</tbody></table>
		</div>
	</div>
	<!--[if !IE]>end table_wrapper<![endif]-->
</div>
</div>
<!--[if !IE]>end section inner<![endif]-->
</div>
<!--[if !IE]>end section<![endif]-->